package com.airycode.distribution.distribution1.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by zkr-fanxirui on 2017/8/19.
 */
@Entity
@Table(name = "tb_company")
public class CompanyEntity implements Serializable{

    @Id
    @Column(name = "id")
    private String id;
    @Column(name = "company_name")
    private String companyName;
    @Column(name = "company_code")
    private String companyCode;
    @Column(name = "company_create_time")
    private Date createTime;
    @Column(name = "company_people")
    private String createPeople;//创建人
    @Column(name = "company_type")
    private String companyType;

    @Column(name = "company_state")
    private Integer companyState;

    public Integer getCompanyState() {
        return companyState;
    }

    public void setCompanyState(Integer companyState) {
        this.companyState = companyState;
    }

    public String getId() {
        return id;
    }

    public String getCompanyName() {
        return companyName;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getCreatePeople() {
        return createPeople;
    }

    public String getCompanyType() {
        return companyType;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setCreatePeople(String createPeople) {
        this.createPeople = createPeople;
    }

    public void setCompanyType(String companyType) {
        this.companyType = companyType;
    }
}
